home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / plugins / postproc / dither / r3dithmd.js < prev   
Encoding:
JavaScript  |  2005-04-04  |  1.8 KB  |  75 lines

  1.  
  2. // JavaScript wrapper for r3dithmd.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_DITHERMOD_H = 1;
  7. include("real/code/r3postim.js")
  8.  
  9.  
  10. var R3CLID_DITHERINGMODEL = 801;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3DITHMDA_RedBits = 801500;
  19. function SetR3DITHMDA_RedBits(value) {
  20.   R3Set(this.r3obj, R3DITHMDA_RedBits, value, R3TID_INTEGER, 0); 
  21. }
  22.  
  23. function GetR3DITHMDA_RedBits() {
  24.   return R3Get(this.r3obj, R3DITHMDA_RedBits, R3TID_INTEGER, 0); 
  25. }
  26.  
  27. R3DITHMDA_GreenBits = 801501;
  28. function SetR3DITHMDA_GreenBits(value) {
  29.   R3Set(this.r3obj, R3DITHMDA_GreenBits, value, R3TID_INTEGER, 0); 
  30. }
  31.  
  32. function GetR3DITHMDA_GreenBits() {
  33.   return R3Get(this.r3obj, R3DITHMDA_GreenBits, R3TID_INTEGER, 0); 
  34. }
  35.  
  36. R3DITHMDA_BlueBits = 801502;
  37. function SetR3DITHMDA_BlueBits(value) {
  38.   R3Set(this.r3obj, R3DITHMDA_BlueBits, value, R3TID_INTEGER, 0); 
  39. }
  40.  
  41. function GetR3DITHMDA_BlueBits() {
  42.   return R3Get(this.r3obj, R3DITHMDA_BlueBits, R3TID_INTEGER, 0); 
  43. }
  44.  
  45. R3DITHMDA_Channel = 801503;
  46. function SetR3DITHMDA_Channel(value) {
  47.   R3Set(this.r3obj, R3DITHMDA_Channel, value, R3TID_STRING, 0); 
  48. }
  49.  
  50. function GetR3DITHMDA_Channel() {
  51.   return R3Get(this.r3obj, R3DITHMDA_Channel, R3TID_STRING, 0); 
  52. }
  53.  
  54.  
  55.  
  56. function r3Ditheringmodel () { 
  57.    this.base = r3God;
  58.    if(arguments.length) {
  59.       this.base(R3CLID_DITHERINGMODEL, arguments);
  60.    }
  61.    // Methods
  62.  
  63.    // Attributes
  64.    this.GetRedBits=GetR3DITHMDA_RedBits;
  65.    this.SetRedBits=SetR3DITHMDA_RedBits;
  66.    this.GetGreenBits=GetR3DITHMDA_GreenBits;
  67.    this.SetGreenBits=SetR3DITHMDA_GreenBits;
  68.    this.GetBlueBits=GetR3DITHMDA_BlueBits;
  69.    this.SetBlueBits=SetR3DITHMDA_BlueBits;
  70.    this.GetChannel=GetR3DITHMDA_Channel;
  71.    this.SetChannel=SetR3DITHMDA_Channel;
  72. }
  73.  
  74. r3Ditheringmodel.prototype=new r3Postimageeffectmodel;
  75. // r3dithmd.h_H